# 作者: YYJ
# 2025年07月13日16时11分44秒
# 2486249622@qq.com

import re

email_list = ["123@qq.com", "wangdao@163.com", "heihei@gmail.com", "hello@sina.com", "123@yahoo.com", "python@163.command"]

for email in email_list:
    if re.match(r"[\w]{4,20}@163\.com$", email):
        print(email)
    else:
        print("匹配失败")